package com.ericsson.enap.modules.backup.service.impl;

import com.ericsson.enap.modules.backup.entity.SysLogininfor;
import com.ericsson.enap.modules.backup.entity.SysOperLog;
import com.ericsson.enap.modules.backup.mapper.ImsLogBackupMapper;
import com.ericsson.enap.modules.backup.service.ImsLogBackupService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @description: ImsLogBackupService 实现类
 * @author: chenhongbo
 * @create: 2021-10-19 15:11
 */
@Service
public class ImsLogBackupServiceImpl implements ImsLogBackupService {

    @Autowired
    private ImsLogBackupMapper imsLogBackupMapper;

    @Override
    public List<SysLogininfor> querySysLogininforList(String startTime, String endTime) {
        return imsLogBackupMapper.querySysLogininforList(startTime,endTime);
    }

    @Override
    public List<SysOperLog> querySysOperLogList(String startTime, String endTime) {
        return imsLogBackupMapper.querySysOperLogList(startTime,endTime);
    }
}
